package com.neu.credit.creditscore.entity.hospital;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@TableName("examination_items")
@Schema(name = "ExaminationItems", description = "检查项目信息表")
public class ExaminationItems {

    @Schema(description = "检查项目ID，自增主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Schema(description = "检查项目名称")
    private String itemName;

    @Schema(description = "所属科室ID")
    private Integer departmentId;

    @Schema(description = "项目价格")
    private BigDecimal itemPrice;

    @Schema(description = "项目描述")
    private String itemDescription;

    @Schema(description = "创建时间")
    private LocalDateTime createdAt;

    @Schema(description = "更新时间")
    private LocalDateTime updatedAt;
}